package com.cslc.mp.bean;

/**
 * 调用微信jssdk的接口凭证,包含token和expiresIn字段，以及获取到该凭证的时间戳
 * @author keliangliang
 *
 */
public class JsApiTicketInfo {
	//公众号用于调用微信JS接口的临时票据
	private String ticket;
	//jsapi_ticket的有效期
	private long expiresIn;
	//有效期7200秒，开发者必须在自己的服务全局缓存jsapi_ticket,获取到该凭证的系统当前时间
	private long timestamp;
	public String getTicket() {
		return ticket;
	}
	public void setTicket(String ticket) {
		this.ticket = ticket;
	}
	public long getExpiresIn() {
		return expiresIn;
	}
	public void setExpiresIn(long expiresIn) {
		this.expiresIn = expiresIn;
	}
	public long getTimestamp() {
		return timestamp;
	}
	public void setTimestamp(long timestamp) {
		this.timestamp = timestamp;
	}
}
